package cfgs.gestudent.models;

public class Assignatura {
	
	private int id;
	private String nom;
	private int credits;
	private int tipusObligacio;
	
	public Assignatura(){
		
	}
	
	public Assignatura(String nom, int credits, int tipusObligacio) {
		this.nom = nom;
		this.credits = credits;
		this.tipusObligacio = tipusObligacio;
	}
	
	public Assignatura(int id, String nom, int credits, int tipusObligacio) {
		this.id = id;
		this.nom = nom;
		this.credits = credits;
		this.tipusObligacio = tipusObligacio;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public int getCredits() {
		return credits;
	}

	public void setCredits(int credits) {
		this.credits = credits;
	}

	public int getTipusObligacio() {
		return tipusObligacio;
	}

	public void setTipusObligacio(int tipusObligacio) {
		this.tipusObligacio = tipusObligacio;
	}
	
}
